home *** CD-ROM | disk | FTP | other *** search
Wrap
SetFInfo 1.0 by Frédéric RINALDI DESCRIPTION SetFInfo allows to change file type and/or creator. SYNTAX SetFileInfo <file path or name>[,<t=type>][,<c=creator>] [,"DontResolveAlias"] PARAMETERS <file path or name> is the file name or full pathName. <t=type> defines the new file type. <c=creator> defines the new file creator. "DontResolveAlias" allows to deal with an alias file itself rather than automatically resolve the passed reference. Using "!", "?" and "=" as first parameter will return an online help (resp. copyright, syntax and output). USING As usual, type and creator are exactly 4 chars, case sensitive strings. ERRORS If an error occurs, SetFInfo can return : "Error : Not a file" "Error : Alias file not supported" "Error : Volume not found" "Error : Bad Name" "Error : File not found" "Error : Folder not found" "Error : File is busy" "Error : I/O Error" "Error : Volume is locked" "Error : Duplicate file/folder name" "Error : AppleShare insufficient privileges" "Error : Missing or empty parameter(s)" "Error : Bad param #X" HISTORY 1.0 02/05/93 • First public release -------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present : SetFInfo XCMD, © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111 Internet : RINALDI1@APPLELINK@APPLE.COM